Blender Documentation Volume II - Reference Guide: Last modified March 29 2004 S68 | ||
---|---|---|
<<< Previous | Python API Reference | Next >>> |
This object gives access to generic data from all objects in Blender.
Method Summary | ||
á | buildParts() Recomputes the particle system. | |
á | clrParent(mode, fast) Clears parent object. | |
Object type specific | getData() Returns the Datablock object containing the object's data. | |
A vector triple | getDeltaLocation() Returns the object's delta location in a list (x, y, z) | |
Integer | getDrawMode() Returns the object draw mode. | |
Integer | getDrawType() Returns the object draw type | |
A vector triple | getEuler() Returns the object's rotation as Euler rotation vector (rotX, rotY, rotZ). | |
Blender Matrix object | getInverseMatrix() Returns the object's inverse matrix. | |
á | getLocation() Returns the object's location (x, y, z). | |
list of Material Objects | getMaterials() Returns a list of materials assigned to the object. | |
Blender Matrix object. | getMatrix() Returns the object matrix. | |
á | getName() Returns the name of the object | |
Object | getParent() Returns the object's parent object. | |
Object | getTracked() Returns the object's tracked object. | |
á | getType() Returns the type of the object. | |
á | link(object) Links Object with data provided in the argument. | |
á | makeParent(objects, noninverse, fast) Makes the object the parent of the objects provided in the argument which must be a list of valid Objects. | |
á | setDeltaLocation(delta_location) Sets the object's delta location which must be a vector triple. | |
á | setDrawMode(drawmode) Sets the object's drawing mode. | |
á | setDrawType(drawtype) Sets the object's drawing type. | |
á | setEuler(x, y, z) Sets the object's rotation according to the specified Euler angles. | |
á | setLocation(x, y, z) Sets the object's location. | |
á | setMaterials(materials) Sets the materials. | |
á | setName(name) Sets the name of the object. | |
á | shareFrom(object) Link data of self with object specified in the argument. |
Class Variable Summary | ||
á | colbits - The Material usage mask. | |
á | data - The data of the object. | |
á | dloc - The delta (X,Y,Z) location coordinates of the object (vector). | |
á | dLocX - The delta X location coordinate of the object. | |
á | dLocY - The delta Y location coordinate of the object. | |
á | dLocZ - The delta Z location coordinate of the object. | |
á | drawMode - The object's drawing mode used. | |
á | drawType - The object's drawing type used. | |
á | drot - The delta (X,Y,Z) rotation angles (in radians) of the object (vector). | |
á | dRotX - The delta X rotation angle (in radians) of the object. | |
á | dRotY - The delta Y rotation angle (in radians) of the object. | |
á | dRotZ - The delta Z rotation angle (in radians) of the object. | |
á | dsize - The delta (X,Y,Z) size of the object. | |
á | dSizeX - The delta X size of the object. | |
á | dSizeY - The delta Y size of the object. | |
á | dSizeZ - The delta Z size of the object. | |
á | EffX - The X effector coordinate of the object. | |
á | EffY - The Y effector coordinate of the object. | |
á | EffZ - The Z effector coordinate of the object. | |
á | ipo - The ipo data associated with the object. | |
á | Layer - The object layer (as a bitmask). | |
á | loc - The (X,Y,Z) location coordinates of the object (vector). | |
á | LocX - The X location coordinate of the object. | |
á | LocY - The Y location coordinate of the object. | |
á | LocZ - The Z location coordinate of the object. | |
á | mat - The actual matrix of the object. | |
á | matrix - The actual matrix of the object. | |
á | name - The name of the object. | |
á | parent - The parent object of the object. | |
á | rot - The (X,Y,Z) rotation angles (in radians) of the object (vector). | |
á | RotX - The X rotation angle (in radians) of the object. | |
á | RotY - The Y rotation angle (in radians) of the object. | |
á | RotZ - The Z rotation angle (in radians) of the object. | |
á | size - The (X,Y,Z) size of the object (vector). | |
á | SizeX - The X size of the object. | |
á | SizeY - The Y size of the object. | |
á | SizeZ - The Z size of the object. | |
á | track - The object tracking this object. |
buildParts() Recomputes the particle system. This method only applies to an Object of the type Effect. |
clrParent(mode=0, fast=0) Clears parent object.
|
getData() Returns the Datablock object containing the object's data. For example the Mesh, Lamp or the Camera.
|
getDeltaLocation() Returns the object's delta location in a list (x, y, z)
|
getDrawMode() Returns the object draw mode.
|
getDrawType() Returns the object draw type
|
getEuler() Returns the object's rotation as Euler rotation vector (rotX, rotY, rotZ).
|
getInverseMatrix() Returns the object's inverse matrix.
|
getLocation() Returns the object's location (x, y, z).
|
getMaterials() Returns a list of materials assigned to the object.
|
getMatrix() Returns the object matrix.
|
getName() Returns the name of the object
|
getParent() Returns the object's parent object.
|
getTracked() Returns the object's tracked object.
|
getType() Returns the type of the object.
|
link(object) Links Object with data provided in the argument. The data must match the Object's type, so you cannot link a Lamp to a Mesh type object.
|
makeParent(objects, noninverse=0, fast=0) Makes the object the parent of the objects provided in the argument which must be a list of valid Objects.
|
setDeltaLocation(delta_location) Sets the object's delta location which must be a vector triple.
|
setDrawMode(drawmode) Sets the object's drawing mode. The drawing mode can be a mix of modes. To enable these, add up the values.
|
setDrawType(drawtype) Sets the object's drawing type.
|
setEuler(x, y, z) Sets the object's rotation according to the specified Euler angles.
|
setLocation(x, y, z) Sets the object's location.
|
setMaterials(materials) Sets the materials. The argument must be a list of valid material objects.
|
setName(name) Sets the name of the object.
|
shareFrom(object) Link data of self with object specified in the argument. This works only if self and the object specified are of the same type.
|
colbits The Material usage mask. A set bit #n means: the Material #n in the Object's material list is used. Otherwise, the Material #n of the Objects Data material list is displayed. |
dloc The delta (X,Y,Z) location coordinates of the object (vector). This variable applies to IPO Objects only. |
drawMode The object's drawing mode used. The value can be a sum of: 2 - axis, 4 - texspace, 8 - drawname, 16 - drawimage, 32 - drawwire. |
drawType The object's drawing type used. 1 - Bounding box, 2 - wire, 3 - Solid, 4- Shaded, 5 - Textured. |
drot The delta (X,Y,Z) rotation angles (in radians) of the object (vector). This variable applies to IPO Objects only. |
dRotX The delta X rotation angle (in radians) of the object. This variable applies to IPO Objects only. |
dRotY The delta Y rotation angle (in radians) of the object. This variable applies to IPO Objects only. |
<<< Previous | Home | Next >>> |
Class Object | Up | Module NMesh |